<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

<table class="table table-striped">
    <thead>
      <tr>
        <th>字段</th>
        <th>值</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>用户:</td>
        <td>(ID:{$row->user->id}) {$row->user->nickname} 手机号: {$row->user->mobile}</td>
      </tr>
      {foreach name="row.data" item="vo" key="in"}
        {if is_array($vo)}
          {if in_array($in, ['户口簿','遗嘱'])}
            <tr>
              <td>{$in}:</td>
              <td>
                {foreach name="vo" item="v" key="i"}
                  <img src="{$v}" alt="">
                {/foreach}
              </td>
            </tr>
          {else/} 
            {foreach name="vo" item="v" key="i"}
            <tr>
              <td>{$in}-{$i}:</td>
              <td>{$v}</td>
            </tr>
            {/foreach}
          {/if}
        {else/}
        <tr>
          <td>{$in}:</td>
          <td>
          {if in_array($in, ['死亡证明','折现申请书'])}
            <img src="{$vo}" alt="">
          {else/}
            {if $in == '是否销户'}
              {$vo?'是':'否'}
            {else/} 
              {$vo}
            {/if}
          {/if}
          </td>
        </tr>
        {/if}
      {/foreach}
    </tbody>
  </table>

  <input type="hidden" name="status" id="c-status">
  <div class="form-group layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="submit" v="successed" class="btn btn-primary btn-embossed disabled">通过</button>
        <button type="submit" v="rejected" class="btn btn-danger btn-embossed disabled">驳回</button>
        <!-- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button> -->
    </div>
</div>

</form>

<style>

  form img {
    width:100px;
    height: 100px;
  }
</style>
